import rearing from './rearing';
import ill from './ill';
import education from './education';
import yuezi from './yuezi';
import recovery from './recovery';
import attention from './attention';
import familyEducation from './familyEducation';

const list = [
  {
    type: '孩子',
    children: [
      {
        type: '育儿百科',
        prop: 'rearing',
        data: rearing,
        icon: '/images/rearing.svg',
        path: '/?type=rearing'
      },
      {
        type: '儿童病症',
        prop: 'ill',
        data: ill,
        icon: '/images/ill.svg',
        path: '/?type=ill'
      },
      {
        type: '孩子教育',
        prop: 'education',
        data: education,
        icon: '/images/education.svg',
        path: '/?type=education'
      }
    ]
  },
  {
    type: '母亲',
    children: [
      {
        type: '坐月子',
        prop: 'yuezi',
        data: yuezi,
        icon: '/images/yuezi.svg',
        path: '/?type=yuezi'
      },
      {
        type: '产后康复',
        prop: 'recovery',
        data: recovery,
        icon: '/images/recovery.svg',
        path: '/?type=recovery'
      }
    ]
  },
  {
    type: '父亲',
    children: [
      {
        type: '注意事项',
        prop: 'attention',
        data: attention,
        icon: '/images/attention.svg',
        path: '/?type=attention'
      }
    ]
  },
  {
    type: '家庭',
    children: [
      {
        type: '家庭教育',
        prop: 'familyEducation',
        data: familyEducation,
        icon: '/images/familyEducation.svg',
        path: '/?type=familyEducation'
      }
    ]
  }
];
export default list;
